<template>
  <div class="container">
    <div class="img">
      <img src="@/assets/image/403.png" alt="">
    </div>
    <div class="content">
      <ul>
        <li>403</li>
        <li>{{message}}</li>
        <li>
          <el-button type="primary" @click="$router.push({name:'backstage'})">返回首页</el-button>
        </li>
      </ul>
    </div>
  </div>
</template>

<script lang='ts' setup>
const message = '抱歉，服务器出错了';
</script>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
}
.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  .img {
    margin-right: 50px;
  }
  .content {
    ul {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      list-style: none;
      li {
        height: 70px;
        &:nth-child(1) {
          font-weight: 800;
          font-size: 60px;
          color: #565656;
        }
        &:nth-child(2) {
          font-weight: 600;
          font-size: 25px;
          color: #d2d2d2;
          line-height: 70px;
        }
        &:nth-child(3) {
          .el-button {
            margin-top: 20px;
            width: 100px;
          }
        }
      }
    }
  }
}
</style>
